{imp:"c_page/lay_comm"}<!--继承父模板-->

{block:init}<?php
$user = usrBase::userObj('Member'); 
if($res=tex('texIndoc','umc')->noperm($user,$this->vars)){
    basMsg::show("没有权限查看:[$res]",'die');
}
$null = "";
$toarr = tex('texIndoc','umc')->toshow($this->vars);
?>{/block:init}

{block:pimp}
<meta name='robots' content='noindex, nofollow'>
{php}
eimp('/layer/layer.js','vendui');
eimp('/views/umc/assets/cseal.css');
eimp('/views/umc/assets/cseal.js');
{/php}
{/block:pimp}

{block:main}
<div class="pgf_main">

    <h1 class="news_title">{title($title,96,$this->vars)}</h1>
    <div class="news_bar"> 发布:<i class="atime">{stime($atime,min)}</i> &nbsp; 
      评论:<i id="cnt_inrem">0</i>条 </div>
    <div class="news_text"> {html($detail)}</div>

    <?php echo exaCSeal::show($indep,$author,'cseal_tc'); ?>

    <p class="umc_to1">TO: {=$toarr['tou']}</p>
    <p class="umc_to2">部门: {=$toarr['tod']}</p>

    {tag:rdlogs=[List][modid,inread][pid,$did][limit,20]}
    <div class="news_rem">
      <div class="rembar">  
      <span class="remtitle">阅读记录</span> 
      </div><!--[cache,60]--> 
      <dl class="indoc-readlog">
        {:row}
        <dt><i class="right">{stime($t_atime,min)}</i>({=$t_readcnt}次) {title($t_auser,48,$v)}</dt>
        {/row}
      </dl>
    </div>
    {/tag:rdlogs}

    <div class="news_rem">
      <div class="rembar"> 
      <span class="remadd">
      <a>评论(<i id="jsid_count_inrem:{=$did}">0<!--`{=$this->mod},cnt_inrem`--></i>条)</a> &nbsp; 
      <a>&gt;&gt;发布</a>
      </span> 
      <span class="remtitle">评论列表</span> 
      </div><!--[cache,60]--> 
      {tag:dlist=[jsList][modid,inrem][pid,$did][limit,20]}
      {:row}
      <dl>
        <dt>{title($t_title,48,$v)}</dt>
        <dd>
        {text($t_detail,2400)}
        <p class="tr"><span>{=$t_mname}</span> &nbsp; 发布于:<i class="atime">{stime($t_atime,min)} </i></p>
        </dd>
      </dl>
      {/row}
      {/tag:dlist}
    </div>
    <div class="clear"></div>

</div>

{php}
$jstr = "var cm='$this->mod', ck='".(empty($_cview)?$this->key:$_cview)."', cv='$this->view', ct='$this->type';";
$jstr .= "\njtagSend();\nsetTimeout('jsactInread(ck)',2300)";
echo "<script>$jstr</script>"; 
{/php}

{/block:main}

